package com.kaifamiao.www.demo.do0824;

import java.time.LocalDate;
import java.time.Month;

public class Demo05 {
    public static void main(String[] args) {
        System.out.println(Long.MAX_VALUE);
        //LocalDate

        LocalDate now = LocalDate.of(2022,8,24);
        System.out.println(now);
        now= LocalDate.now();
        System.out.println(now);

        LocalDate.of(2022, Month.AUGUST,24);
        now = LocalDate.ofYearDay(2022,236);
        System.out.println(now);
        now = LocalDate.ofEpochDay(52 * 365 + 18);
        System.out.println(now);
        now = LocalDate.parse("2022-08-24");
        System.out.println(now);
        System.out.println(now.atStartOfDay());
    }
}
